.role-box {
  display: flex;
  height: 100%;
  .left {
    width: 260px;
    border-right: 1px solid #dddddd;
    .header {
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
    }
    .content {
      height: calc(100% - 50px);
      overflow: scroll;
      .role-item {
        height: 40px;
        display: flex;
        align-items: center;
        padding: 10px;
        width: 100%;
        cursor: pointer;
        &:hover {
          background: #eff0f1;;
        }
        .text {
          display: inline-block;
          width: 90%;
        }
        .icon {
          &:hover {
            color: #3370ff;
          }
        }
      }
      ul {
        position: absolute;
        background: #fff;
        border: 1px solid #dddddd;
        border-radius: 4px;
        width: 127px;
        li {
          cursor: pointer;
      padding: 7px 5px;
          &:hover {
            background: #eff0f1;;
          }
        }
      }
      .current {
        background-color: rgba(51, 112, 255, 0.3) !important;
      }
    }
  }
  .right {
    width: calc(100% - 260px);
    .header {
      margin: 10px 10px;
    }
    .search {
      display: flex;
      justify-content: space-between;
      margin: 10px;
    }
    .table-box {
      margin: 10px;
    }
  }
}
.user-box {
  height: 330px;
  .left {
    width: 50%;
    height: 100%;
    overflow: auto;
    border-right: 1px solid #ddd;
    padding: 10px 20px;
    .top {
      height: 35px;
    }
    .container {
      height: calc(100% - 35px);
      overflow-y: auto;
    }
    li {
      height: 32px;
      line-height: 32px;
    }
  }
  .right {
    width: 50%;
    overflow: auto;
    padding: 10px 20px;
    .top {
      height: 35px;
    }
    .container {
      height: calc(100% - 35px);
      overflow-y: auto;
    }
    li {
      height: 32px;
      line-height: 32px;
    }
  }
}